SPARTA (26 Feb 2021)
################################################################################
# 2d flow around a circle
#
# Note:
#  - The "comm/sort” option to the “global” command is used to match MPI runs.
#  - The “twopass” option is used to match Kokkos runs.
# The "comm/sort" and "twopass" options should not be used for production runs.
################################################################################

seed	    	    12345
dimension   	    2
global              gridcut 0.0 comm/sort yes

boundary	    	o r p

create_box  	    0 10 0 10 -0.5 0.5
Created orthogonal box = (0 0 -0.5) to (10 10 0.5)
create_grid 	    20 20 1
Created 400 child grid cells
  CPU time = 0.00506139 secs
  create/ghost percent = 77.7286 22.2714
balance_grid        rcb cell
Balance grid migrated 0 cells
  CPU time = 0.000751019 secs
  reassign/sort/migrate/ghost percent = 28.4127 0.920635 13.6508 57.0159

global		    	nrho 1.0 fnum 0.001

species		    	air.species O CO CO2 C
mixture		    	air O vstream 100.0 0 0

mixture             air O   frac 1.0
mixture             air CO  frac 0.0
mixture             air CO2 frac 0.0
mixture             air C   frac 0.0

read_surf           data.circle
  50 points
  50 lines
  2 8 xlo xhi
  2.00592 7.99408 ylo yhi
  0 0 zlo zhi
  0.376743 min line length
  0 0 = number of pushed cells
  48 0 = cells overlapping surfs, overlap cells with unmarked corner pts
  264 88 48 = cells outside/inside/overlapping surfs
  48 = surf cells with 1,2,etc splits
  71.8 71.8 = cell-wise and global flow volume
  CPU time = 0.00204206 secs
  read/check/sort/surf2grid/ghost/inout/particle percent = 13.9521 11.8389 3.02393 52.0257 19.1594 13.1816 0.0116754
  surf2grid time = 0.00106239 secs
  map/comm1/comm2/comm3/comm4/split percent = 37.0512 4.82496 8.95422 2.80521 7.22621 34.4479

surf_collide        1 cll 300.0 0.5 0.5 0.5 0.5

################################### SURF REACT ADSORB ######################################

#surf_react          adsorb_test_ps1 adsorb ps sample-PS_1.surf nsync 1 surf 1000 6.022e9 O CO
#surf_modify         all collide 1 react adsorb_test_ps1

surf_react          adsorb_test_ps2 adsorb ps sample-PS_2.surf nsync 1 surf 1000 6.022e9 O CO
surf_modify         all collide 1 react adsorb_test_ps2

############################################################################################

#collide            vss air air.vss

fix		    		in emit/face air xlo nevery 100 n 10000 perspecies no twopass # subsonic 0.1 NULL

timestep 	    	0.0001

#dump                2 image all 50 image.*.ppm type type pdiam 0.1 surf proc 0.01 size 512 512 zoom 1.75 gline yes 0.005
#dump_modify	     2 pad 4

stats		    	10
stats_style	    	step cpu np nattempt ncoll nscoll nscheck
run 		    	500
Memory usage per proc in Mbytes:
  particles (ave,min,max) = 0 0 0
  grid      (ave,min,max) = 1.51379 1.51379 1.51379
  surf      (ave,min,max) = 0.00514984 0.00514984 0.00514984
  total     (ave,min,max) = 1.51894 1.51894 1.51894
Step CPU Np Natt Ncoll Nscoll Nscheck 
       0            0        0        0        0        0        0 
      10 0.00045847893        0        0        0        0        0 
      20 0.00086355209        0        0        0        0        0 
      30 0.0014762878        0        0        0        0        0 
      40 0.0018808842        0        0        0        0        0 
      50 0.0022931099        0        0        0        0        0 
      60 0.0026938915        0        0        0        0        0 
      70 0.0031037331        0        0        0        0        0 
      80 0.0035030842        0        0        0        0        0 
      90 0.0039002895        0        0        0        0        0 
     100  0.015573502    10000        0        0        0        0 
     110   0.02229476    10053        0        0        0       42 
     120  0.029638052    10057        0        0       37      982 
     130  0.039429665    10057        0        0       80     2803 
     140  0.049762726    10006        0        0      105     3648 
     150  0.060782433     9858        0        0       74     3434 
     160  0.071203232     9580        0        0       75     3147 
     170  0.081336975     9262        0        0       46     2650 
     180  0.090819359     8853        0        0       56     2329 
     190  0.099170208     8478        0        0       39     1881 
     200   0.12023401    18081        0        0       48     1797 
     210   0.13398099    17668        0        0       36     1536 
     220   0.14747643    17247        0        0       52     2188 
     230   0.16283393    16814        0        0      122     4060 
     240   0.17866945    16318        0        0      122     4743 
     250   0.19407988    15785        0        0       97     4563 
     260   0.20938635    15069        0        0       87     4005 
     270    0.2234602    14313        0        0       78     3647 
     280   0.23624682    13602        0        0       62     2964 
     290   0.24792004    12833        0        0       61     2736 
     300   0.26939201    22083        0        0       66     2494 
     310   0.28666615    21382        0        0       39     2084 
     320   0.30347681    20630        0        0       88     2885 
     330   0.32153964    19912        0        0      142     4691 
     340   0.35182858    19164        0        0      117     5357 
     350   0.37319183    18415        0        0      131     5080 
     360   0.39031267    17547        0        0      107     4470 
     370   0.40544176    16630        0        0       86     3961 
     380   0.41959405    15696        0        0       79     3457 
     390   0.43297315    14847        0        0       71     3054 
     400   0.45479155    23952        0        0       52     2684 
     410   0.47217131    23112        0        0       59     2493 
     420   0.48950267    22294        0        0       77     3075 
     430   0.51153541    21487        0        0      148     4727 
     440   0.53506064    20641        0        0      145     5531 
     450   0.56722021    19766        0        0      113     5157 
     460    0.5882113    18842        0        0       85     4759 
     470   0.61687756    17918        0        0       91     4086 
     480   0.63997483    16904        0        0       75     3592 
     490   0.65850616    15966        0        0       53     2954 
     500   0.69015241    24997        0        0       59     2757 
Loop time of 0.69233 on 1 procs for 500 steps with 24997 particles

MPI task timing breakdown:
Section |  min time  |  avg time  |  max time  |%varavg| %total
---------------------------------------------------------------
Move    | 0.60378    | 0.60378    | 0.60378    |   0.0 | 87.21
Coll    | 0          | 0          | 0          |   0.0 |  0.00
Sort    | 0          | 0          | 0          |   0.0 |  0.00
Comm    | 0.0021141  | 0.0021141  | 0.0021141  |   0.0 |  0.31
Modify  | 0.055433   | 0.055433   | 0.055433   |   0.0 |  8.01
Output  | 0.0082753  | 0.0082753  | 0.0082753  |   0.0 |  1.20
Other   |            | 0.02273    |            |       |  3.28

Particle moves    = 6349280 (6.35M)
Cells touched     = 7193893 (7.19M)
Particle comms    = 0 (0K)
Boundary collides = 28890 (28.9K)
Boundary exits    = 25262 (25.3K)
SurfColl checks   = 1309018 (1.31M)
SurfColl occurs   = 31042 (31K)
Surf reactions    = 0 (0K)
Collide attempts  = 0 (0K)
Collide occurs    = 0 (0K)
Reactions         = 0 (0K)
Particles stuck   = 0
Axisymm bad moves = 0

Particle-moves/CPUsec/proc: 9.17089e+06
Particle-moves/step: 12698.6
Cell-touches/particle/step: 1.13303
Particle comm iterations/step: 1
Particle fraction communicated: 0
Particle fraction colliding with boundary: 0.00455012
Particle fraction exiting boundary: 0.00397872
Surface-checks/particle/step: 0.206168
Surface-collisions/particle/step: 0.00488906
Surf-reactions/particle/step: 0
Collision-attempts/particle/step: 0
Collisions/particle/step: 0
Reactions/particle/step: 0

Surface reaction tallies:
  id adsorb_test_ps2 style adsorb #-of-reactions 5
    reaction all: 259
    reaction C(b) --> C(g): 259

Particles: 24997 ave 24997 max 24997 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Cells:      400 ave 400 max 400 min
Histogram: 1 0 0 0 0 0 0 0 0 0
GhostCell: 0 ave 0 max 0 min
Histogram: 1 0 0 0 0 0 0 0 0 0
EmptyCell: 0 ave 0 max 0 min
Histogram: 1 0 0 0 0 0 0 0 0 0
Surfs:    50 ave 50 max 50 min
Histogram: 1 0 0 0 0 0 0 0 0 0
GhostSurf: 0 ave 0 max 0 min
Histogram: 1 0 0 0 0 0 0 0 0 0

